import turtle
turtle.setup(650, 350, 200, 200)
turtle.penup()
turtle.fd(-760)
turtle.pendown()
turtle.pensize(25)
turtle.pencolor("purple")
turtle.seth(-40)
turtle.circle(40, 80/2)
turtle.speed(5)
for i in range(6):
    turtle.fd(1435)
    turtle.circle(16, 180)
    turtle.fd(2155 * 2/3)
    turtle.circle(-16, 180)
turtle.fd(1465)
turtle.circle(-16, 90)
turtle.fd(720)
turtle.circle(-16, 90)
turtle.fd(1465)
turtle.circle(-16, 180)
for i in range(5):
    turtle.fd(1435)
    turtle.circle(16, 180)
    turtle.fd(2155 * 2/3)
    turtle.circle(-16, 180)


turtle.done()